package com.betterwood.dragon.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.springframework.data.annotation.Id;

import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document("records")
@NoArgsConstructor
public class Record implements Serializable {

    public Record(String keywordId, String siteId) {
        this.keywordId = keywordId;
        this.siteId = siteId;
    }

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @JsonProperty("id")
    private String id;

    /**
     * 关键词Id
     */
    private String keywordId;

    /**
     * 网站Id
     */
    private String siteId;

    /**
     * 网站名称
     */
    private String siteName;

    /**
     * 网站编号
     */
    private String siteNo;

    /**
     * 关键字
     */
    private String keywordStr;

    /**
     * 扫描时间
     */
    private String scanTime;

    /**
     * 扫描时间
     */
    private String productId;

    /**
     * 扫描时间
     */
    private String productName;
    /**
     * 扫描价格
     */
    private String scanPrice;

}
